#include "ShadowRay.h"

ShadowRay::ShadowRay(const SPoint& s, const SPoint& e) :
	vec(~(e - s)), invVec(1 / vec.x, 1 / vec.y, 1 / vec.z), length((e - s).getLength()), start(s), end(e)
{
}

ShadowRay::~ShadowRay()
{
}


